package com.dly.hope.repository;

import com.dly.hope.modle.Template;
import com.dly.hope.modle.UserAccount;
import com.dly.hope.type.TemplateType;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface TemplateRepository extends JpaRepository<Template, String> {
    Optional<Template> findByType(TemplateType templateType);
}
